﻿namespace OboutInc.Splitter2
{
    using System;

    public class CustomException : Exception
    {
        private string m_customMessage;
        private Exception m_innerException;
        private SeverityLevel m_severityLevelOfException;

        public CustomException(SeverityLevel severityLevel, Exception exception, string customMessage) : base(customMessage)
        {
            this.m_severityLevelOfException = severityLevel;
            this.m_innerException = exception;
            this.m_customMessage = customMessage;
        }

        public string CustomMessage
        {
            get
            {
                return this.m_customMessage;
            }
            set
            {
                this.m_customMessage = value;
            }
        }
    }
}

